/* packageA/components/service-order-list/index.wxss */
page {
  background-color: #f1f1f1;
}

.service-order-list {
  position: relative;
  background-color: #fff;
  border-radius: 15rpx;
  padding: 25rpx;
  margin-bottom: 20rpx;
  .top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10rpx 0;
    .left-num {
      font-weight: 400;
      font-size: 26rpx;
      color: #999999;
    }
    .right-status {
      font-weight: 500;
      font-size: 24rpx;
      color: #faab40;
      position: absolute;
    right: 0px;
    top: 0px;
    width: 170rpx;
    }
  }
  .middle-line {
    display: flex;
    align-items: center;
    .left-image-box {
      width: 140rpx;
      height: 140rpx;
      display: flex;
      align-items: center;
      flex: 0 0 140rpx;
      background-color: rgb(218, 218, 218);
      border-radius: 15rpx;
      .left-image {
        width: 100%;
      }
    }
    .right-box {
      width: calc(100% - 156rpx);
      margin-left: 16rpx;
      .line-row-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .title-box {
          flex: 1;
          display: inline-block;
          font-weight: 500;
          font-size: 30rpx;
          color: #000000;
          overflow: hidden; /*超出的部分隐藏起来。*/
          white-space: nowrap; /*不显示的地方用省略号...代替*/
          text-overflow: ellipsis; /* 支持 IE */
        }
        .price-box {
          font-weight: 500;
          font-size: 30rpx;
          color: #ff0c0c;
        }
        .dec {
          font-weight: 400;
          font-size: 26rpx;
          color: #999999;
          overflow: hidden; /*超出的部分隐藏起来。*/
          white-space: nowrap; /*不显示的地方用省略号...代替*/
          text-overflow: ellipsis; /* 支持 IE */
        }
        .num {
          font-weight: 500;
          font-size: 26rpx;
          color: #333333;
        }
        .time {
          font-weight: 400;
          font-size: 26rpx;
          color: #333333;
        }
        &:nth-child(2) {
          margin: 5rpx 0;
        }
      }
    }
  }

  .bottom-line {
    display: flex;
    justify-content: flex-end;
    margin-top: 20rpx;
    .button-box {
      margin-left: 12rpx;
      width: 160rpx;
     padding:0
    }
  }
}

::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  color: transparent;
}
